package com.ymatou.iapi.trading.operate.parameter.po;

import java.math.BigDecimal;

public class OrderInfoSubPo {
	/**
	* SubOrderInfoId INTEGER(10) 必填<br>
	* 
	*/
	private Integer subOrderInfoId;

	/**
	 * OrderId INTEGER(10) 必填<br>
	 * 
	 */
	private Long orderId;

	/**
	 * CatalogId VARCHAR(36) 必填<br>
	 * 
	 */
	private String catalogId;

	/**
	 * SubTitle VARCHAR(200)<br>
	 * 
	 */
	private String subTitle;

	/**
	 * SubCatalogId VARCHAR(36) 必填<br>
	 * 
	 */
	private String subCatalogId;

	/**
	 * ThirdCatId INTEGER(10) 必填<br>
	 * 
	 */
	private Integer thirdCatId;

	/**
	 * Num INTEGER(10) 默认值[((0))] 必填<br>
	 * 
	 */
	private Integer num;

	/**
	 * ProductCode VARCHAR(130)<br>
	 * 
	 */
	private String productCode;

	/**
	 * Sku VARCHAR(60)<br>
	 * 
	 */
	private String sku;

	/**
	 * OriginalPrice DECIMAL(18,2) 默认值[((0))] 必填<br>
	 * 
	 */
	private BigDecimal originalPrice;

	/**
	 * Price DECIMAL(18,2) 默认值[((0))] 必填<br>
	 * 
	 */
	private BigDecimal price;

	/**
	 * Freight DECIMAL(18,2) 默认值[((0))] 必填<br>
	 * 
	 */
	private BigDecimal freight;

	/**
	 * Discount DECIMAL(18,2) 默认值[((0))] 必填<br>
	 * 
	 */
	private BigDecimal discount;

	/**
	 * YmtCoupon DECIMAL(18,2) 默认值[((0))] 必填<br>
	 * 
	 */
	private BigDecimal ymtCoupon;

	/**
	 * SellerCoupon DECIMAL(18,2) 默认值[((0))] 必填<br>
	 * 
	 */
	private BigDecimal sellerCoupon;

	/**
	 * ThirdPartyDiscount DECIMAL(18,2) 默认值[((0))] 必填<br>
	 * 
	 */
	private BigDecimal thirdPartyDiscount;

	/**
	 * Promotion DECIMAL(18,2) 默认值[((0))] 必填<br>
	 * 
	 */
	private BigDecimal promotion;

	/**
	 * AddTime TIMESTAMP(23,3)<br>
	 * 
	 */
	private String addTime;

	/**
	 * UpdateTime TIMESTAMP(23,3) 默认值[(getdate())]<br>
	 * 
	 */
	private String updateTime;

	/**
	 * SecondCatId INTEGER(10)<br>
	 * 
	 */
	private Integer secondCatId;

	/**
	 * FirstCatId INTEGER(10)<br>
	 * 
	 */
	private Integer firstCatId;

	/**
	 * SubOrderInfoId INTEGER(10) 必填<br>
	 */
	public Integer getSubOrderInfoId() {
		return subOrderInfoId;
	}

	/**
	 * SubOrderInfoId INTEGER(10) 必填<br>
	 */
	public void setSubOrderInfoId(Integer subOrderInfoId) {
		this.subOrderInfoId = subOrderInfoId;
	}

	/**
	 * OrderId INTEGER(10) 必填<br>
	 */
	public Long getOrderId() {
		return orderId;
	}

	/**
	 * OrderId INTEGER(10) 必填<br>
	 */
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	/**
	 * CatalogId VARCHAR(36) 必填<br>
	 */
	public String getCatalogId() {
		return catalogId;
	}

	/**
	 * CatalogId VARCHAR(36) 必填<br>
	 */
	public void setCatalogId(String catalogId) {
		this.catalogId = catalogId == null ? null : catalogId.trim();
	}

	/**
	 * SubTitle VARCHAR(200)<br>
	 */
	public String getSubTitle() {
		return subTitle;
	}

	/**
	 * SubTitle VARCHAR(200)<br>
	 */
	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle == null ? null : subTitle.trim();
	}

	/**
	 * SubCatalogId VARCHAR(36) 必填<br>
	 */
	public String getSubCatalogId() {
		return subCatalogId;
	}

	/**
	 * SubCatalogId VARCHAR(36) 必填<br>
	 */
	public void setSubCatalogId(String subCatalogId) {
		this.subCatalogId = subCatalogId == null ? null : subCatalogId.trim();
	}

	/**
	 * ThirdCatId INTEGER(10) 必填<br>
	 */
	public Integer getThirdCatId() {
		return thirdCatId;
	}

	/**
	 * ThirdCatId INTEGER(10) 必填<br>
	 */
	public void setThirdCatId(Integer thirdCatId) {
		this.thirdCatId = thirdCatId;
	}

	/**
	 * Num INTEGER(10) 默认值[((0))] 必填<br>
	 */
	public Integer getNum() {
		return num;
	}

	/**
	 * Num INTEGER(10) 默认值[((0))] 必填<br>
	 */
	public void setNum(Integer num) {
		this.num = num;
	}

	/**
	 * ProductCode VARCHAR(130)<br>
	 */
	public String getProductCode() {
		return productCode;
	}

	/**
	 * ProductCode VARCHAR(130)<br>
	 */
	public void setProductCode(String productCode) {
		this.productCode = productCode == null ? null : productCode.trim();
	}

	/**
	 * Sku VARCHAR(60)<br>
	 */
	public String getSku() {
		return sku;
	}

	/**
	 * Sku VARCHAR(60)<br>
	 */
	public void setSku(String sku) {
		this.sku = sku == null ? null : sku.trim();
	}

	/**
	 * OriginalPrice DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public BigDecimal getOriginalPrice() {
		return originalPrice;
	}

	/**
	 * OriginalPrice DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public void setOriginalPrice(BigDecimal originalPrice) {
		this.originalPrice = originalPrice;
	}

	/**
	 * Price DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public BigDecimal getPrice() {
		return price;
	}

	/**
	 * Price DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	/**
	 * Freight DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public BigDecimal getFreight() {
		return freight;
	}

	/**
	 * Freight DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public void setFreight(BigDecimal freight) {
		this.freight = freight;
	}

	/**
	 * Discount DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public BigDecimal getDiscount() {
		return discount;
	}

	/**
	 * Discount DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}

	/**
	 * YmtCoupon DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public BigDecimal getYmtCoupon() {
		return ymtCoupon;
	}

	/**
	 * YmtCoupon DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public void setYmtCoupon(BigDecimal ymtCoupon) {
		this.ymtCoupon = ymtCoupon;
	}

	/**
	 * SellerCoupon DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public BigDecimal getSellerCoupon() {
		return sellerCoupon;
	}

	/**
	 * SellerCoupon DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public void setSellerCoupon(BigDecimal sellerCoupon) {
		this.sellerCoupon = sellerCoupon;
	}

	/**
	 * ThirdPartyDiscount DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public BigDecimal getThirdPartyDiscount() {
		return thirdPartyDiscount;
	}

	/**
	 * ThirdPartyDiscount DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public void setThirdPartyDiscount(BigDecimal thirdPartyDiscount) {
		this.thirdPartyDiscount = thirdPartyDiscount;
	}

	/**
	 * Promotion DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public BigDecimal getPromotion() {
		return promotion;
	}

	/**
	 * Promotion DECIMAL(18,2) 默认值[((0))] 必填<br>
	 */
	public void setPromotion(BigDecimal promotion) {
		this.promotion = promotion;
	}

	/**
	 * AddTime TIMESTAMP(23,3)<br>
	 */
	public String getAddTime() {
		return addTime;
	}

	/**
	 * AddTime TIMESTAMP(23,3)<br>
	 */
	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	/**
	 * UpdateTime TIMESTAMP(23,3) 默认值[(getdate())]<br>
	 */
	public String getUpdateTime() {
		return updateTime;
	}

	/**
	 * UpdateTime TIMESTAMP(23,3) 默认值[(getdate())]<br>
	 */
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * SecondCatId INTEGER(10)<br>
	 */
	public Integer getSecondCatId() {
		return secondCatId;
	}

	/**
	 * SecondCatId INTEGER(10)<br>
	 */
	public void setSecondCatId(Integer secondCatId) {
		this.secondCatId = secondCatId;
	}

	/**
	 * FirstCatId INTEGER(10)<br>
	 */
	public Integer getFirstCatId() {
		return firstCatId;
	}

	/**
	 * FirstCatId INTEGER(10)<br>
	 */
	public void setFirstCatId(Integer firstCatId) {
		this.firstCatId = firstCatId;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", subOrderInfoId=").append(subOrderInfoId);
		sb.append(", orderId=").append(orderId);
		sb.append(", catalogId=").append(catalogId);
		sb.append(", subTitle=").append(subTitle);
		sb.append(", subCatalogId=").append(subCatalogId);
		sb.append(", thirdCatId=").append(thirdCatId);
		sb.append(", num=").append(num);
		sb.append(", productCode=").append(productCode);
		sb.append(", sku=").append(sku);
		sb.append(", originalPrice=").append(originalPrice);
		sb.append(", price=").append(price);
		sb.append(", freight=").append(freight);
		sb.append(", discount=").append(discount);
		sb.append(", ymtCoupon=").append(ymtCoupon);
		sb.append(", sellerCoupon=").append(sellerCoupon);
		sb.append(", thirdPartyDiscount=").append(thirdPartyDiscount);
		sb.append(", promotion=").append(promotion);
		sb.append(", addTime=").append(addTime);
		sb.append(", updateTime=").append(updateTime);
		sb.append(", secondCatId=").append(secondCatId);
		sb.append(", firstCatId=").append(firstCatId);
		sb.append("]");
		return sb.toString();
	}
}
